<!--<?php print <<<EOT
-->
<div id="breadCrumb">
	<strong><a href="index.php?m=house">新房首页</a></strong>
<!--#
if ($houseinfo['area']) {
#-->
	>> <a href="{$houseBaseUrl}q=list&area={$houseinfo['area']}">{$house_field['area'][$houseinfo['area']]['name']}</a>
<!--#
}
#-->
	>> <a href="{$houseBaseUrl}q=info&hid=$hid">{$houseinfo['name']}</a>
</div>
<div id="banner" class="mb" style="background:url({$houseinfo['banner']}) no-repeat 0 0;">
	<div id="house-title">
		<h1>{$houseinfo['name']}</h1>
		<span class="status">
<!--#
if ($houseinfo['status'] == 1) {
#-->
			<span class="new">新盘</span>
<!--#
} elseif ($houseinfo['status'] == 2) {
#-->
			<span class="onsale">在售</span>
<!--#
} elseif ($houseinfo['status'] == 3) {
#-->
			<span class="rest">尾盘</span>
<!--#
} else {
#-->
			<span class="sold-out">售空</span>
<!--#
}
#-->
		</span>
	</div>
	<ul id="main-nav">
		<li><a href="{$houseBaseUrl}q=info&hid=$hid">楼盘信息</a></li>
		<li class="current"><a href="{$houseBaseUrl}q=album&hid=$hid">相册</a></li>
<!--#
if ($houseinfo['cyid']) {
#-->
		<li><a href="thread.php?cyid={$houseinfo['cyid']}">业主小区</a></li>
<!--#
}foreach ($houseinfo['nav'] as $key => $value) {
#-->
		<li><a href="{$value['link']}"{$value['a_style']}>{$value['title']}</a></li>
<!--#
}
#-->
	</ul>
	<div id="sub-nav">
		<b class="l"></b>
		<ul>
<!--#
foreach ($topTypes as $key => $top) {
$selected = $key==$topid ? 'class="current"':'';
#-->
			<li $selected><a href="$basename&typeid={$top[id]}">$top[name]</a></li>
<!--#
}
#-->
		</ul>
		<b class="r"></b>
	</div>
</div>
<div id="album" class="pw-hbox">
	<div class="hd">
		<h3><em>$typeRoute</em></h3>
	</div>
	<div class="bd cc">
<!--#
$imgageContainerClass = 'panel2';
if ($secendTypes) {
$imgageContainerClass = 'panel';
#-->
		<ul class="house-type-list">
<!--#
$selected = ($topid==$typeid && !$other) ? 'class="current"':'';
#-->
			<li $selected><a href="$basename&typeid={$topid}">全部</a></li>
<!--#
foreach ($secendTypes as $key => $secend) {
$selected = $key==$typeid ? 'class="current"':'';
#-->
			<li $selected><a href="$basename&typeid={$secend[id]}">$secend[name]</a></li>
<!--#
}
#-->
<!--#
$selected = ($topid==$typeid && $other ==1) ? 'class="current"':'';
#-->
			<li $selected><a href="$basename&typeid={$topid}&other=1">其他</a></li>
		</ul>
<!--#
}
#-->
				
		<div class="$imgageContainerClass">
			<ul class="pw-hlist pho-list2 cc">
<!--#
foreach ($images as $image) {
#-->
				<li><a href="$image[url]"><img src="$image[mini]" /><span>$image[descrip]</span></a></li>
<!--#
}
#-->
			</ul>
			<div class="pages">
				$pages
			</div>
		</div>
	</div>
</div>
<!--
EOT;
footer();
?>-->